public class Test {
    public static void main(String[] args) {
        int[] array={27,15,19,18,28,34,65,49,25,37};
        Heap heap=new Heap();
        heap.initElem(array);
        heap.creatHeap();
        //heap.offer(80);
        //heap.poll();
        int value=heap.peek();
        System.out.println(value);
    }
}
